package net.borderwars.map;

import java.util.Collection;

/**
 * User: Eric
 * Date: Nov 21, 2004
 * Time: 8:18:19 PM
 */
public interface Map {

    public int getWidth ();

    public int getHeight ();

    public void add (Mappable m);

    public void remove (Mappable m);

    public Mappable getMappable (int x, int y);

    public Collection<Mappable> getMappables ();

    public Collection<Mappable> getMappables (int x, int y, int xx, int yy);

    void update ();
}
